<?php

namespace Part10_TemplateMethodPattern\Code2;

// 学生乙抄的试卷
class TestPaperB extends TestPaper
{
    // 试题1
    public function TestQuestion1()
    {
        parent::TestQuestion1();
        echo '答案:d' . "\n";
    }

    // 试题2
    public function TestQuestion2()
    {
        parent::TestQuestion2();
        echo '答案:b' . "\n";
    }


    public function TestQuestion3()
    {
        parent::TestQuestion3();
        echo '答案:a' . "\n";
    }


}